package com.sgb.zhaocai.entity;

import android.text.TextUtils;

import com.swgk.core.util.DateUtils;

/**
 * Time:2021/7/2
 * AUTHOR:F_Q
 * Description:
 */
public class ProjectListEntity {
    private String id;
    private String projectName;
    private String engineeringType;
    private String projectPrice;
    private String fundSource;
    private String otherSource;
    private String businessType;
    private String applyCompanyName;
    private String totalUnit;
    private String ownUnitName;
    private String startTime;
    private String endTime;
    private String introduce;
    private String addrDetail;
    private String projectAddressName;
    private String createTime;

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getApplyCompanyName() {
        return applyCompanyName;
    }

    public void setApplyCompanyName(String applyCompanyName) {
        this.applyCompanyName = applyCompanyName;
    }

    public String getEngineeringType() {
        return engineeringType;
    }

    public void setEngineeringType(String engineeringType) {
        this.engineeringType = engineeringType;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getProjectAddressName() {
        return projectAddressName;
    }

    public void setProjectAddressName(String projectAddressName) {
        this.projectAddressName = projectAddressName;
    }

    public String getOwnUnitName() {
        return ownUnitName;
    }

    public void setOwnUnitName(String ownUnitName) {
        this.ownUnitName = ownUnitName;
    }

    public String getFundSource() {
        return fundSource;
    }

    public void setFundSource(String fundSource) {
        this.fundSource = fundSource;
    }

    public String getCreateTime() {
        if (!TextUtils.isEmpty(createTime)){
            String timestamp = DateUtils.timestampToDate(Long.parseLong(createTime));
            return timestamp;
        }else {
            return "";
        }
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getAddrDetail() {
        return addrDetail;
    }

    public void setAddrDetail(String addrDetail) {
        this.addrDetail = addrDetail;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getOtherSource() {
        return otherSource;
    }

    public void setOtherSource(String otherSource) {
        this.otherSource = otherSource;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProjectPrice() {
        return projectPrice;
    }

    public void setProjectPrice(String projectPrice) {
        this.projectPrice = projectPrice;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getTotalUnit() {
        return totalUnit;
    }

    public void setTotalUnit(String totalUnit) {
        this.totalUnit = totalUnit;
    }
}
